﻿using System;
using System.Data.Common;
using System.Threading.Tasks;

namespace Xman.Dapper
{
    public class TranModel
    {
        /// <summary>
        /// SqlTransaction 事务，int 前一个的返回值，如果要取值配合ExecuteScalar使用，返回int
        /// </summary>
        public Func<DbTransaction, int, Task<int>> Func { get; set; }
        public string MethodName { get; set; }
    }
}
